Minimize Window
AutomatR.Windows.Activities.MinimizeWindow
The "Minimize Window" activity in AutomatR is designed for UI Automation in Windows. It allows you to minimize the specified application window, providing flexibility and control in automation workflows.
Properties
Name | Description |
---|---|
Input | |
Display Title | Enter the title of the window app that needs to be minimized. String variables containing the window title. |
Process Name | Enter the process name of the window app that needs to be minimized. String variables containing the process name. |
Process Title | Enter the process title of the window app that needs to be minimized. String variables containing the process title. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Current Active Window | When enabled, indicates the current active window for the activity. Boolean variables to set the activity to focus on the current active window. |
Window | Enter the window variable for the app that needs to be minimized. SelectorWindow variables. |
Optional | |
Delay | Enter the wait time in seconds (Example: 5 seconds i.e., 5) to start the activity. Integer variables containing the delay duration. |
How to use:
- Drag and drop the "Minimize Window" activity onto the workflow.
- Configure the properties by specifying the display title, process name, or process title of the window app to be minimized.
- Optionally, configure the delay and customize the display name.
- Execute the workflow to minimize the specified window.
Example: Consider an example where the "Minimize Window" activity is used to minimize a window with the title "Document Viewer."
Minimize Window:
Display Title: "Document Viewer"
Result: isMinimizeSuccessful
In this example, the activity minimizes the window with the title "Document Viewer." The result of the operation (success or failure) is stored in the Boolean variable "isMinimizeSuccessful" for further handling in the workflow.